#!/usr/bin/python
# -*- encoding: utf-8 -*-
'''
@File    :   1.py
@Time    :   2020/03/15 18:18:41
@Author  :   Malygos_l 
@Version :   1.0
@Contact :   751756061@qq.com
@WebSite :   www.gitee.com/malygos_l
'''
# Start typing your code from here
#  元素输出和查找：  请输出0-50之间的奇数，偶数，质数；能同时被2和3整除的数;

odd  = []
even = []
prime =[2]
num = []
for a in range(51):
    if (a%2)==0:
        even.append(a)
        if (a%3)==0:
            num.append(a)
    else :
        odd.append(a)
    for b in range(2,a):
        if (a%b)==0:
            break
        if b==(a-1):
            prime.append(a)

print(odd)
print(even)
print(prime)
print(num)